package com.hzb.myvpn.model;

import java.util.List;

public class VpnConfig {
    private String host = "oa.hzbn.tk";
    private int port = 15045;
    private String username = "test1";
    private String password = "test1";
    private List<Route> routes;
    private int readBufferSize = 1024 * 1024;
    private int writeBufferSize = 1024 * 128;
    private int heartbeat = 300;
    private int timeout = 360;
    private int serverHeartbeat = 300;
    private int serverTimeout = 360;
    
    public int getReadBufferSize() {
        return readBufferSize;
    }

    public void setReadBufferSize(int readBufferSize) {
        this.readBufferSize = readBufferSize;
    }

    public int getWriteBufferSize() {
        return writeBufferSize;
    }

    public void setWriteBufferSize(int writeBufferSize) {
        this.writeBufferSize = writeBufferSize;
    }

    public VpnConfig() {
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List<Route> getRoutes() {
        return routes;
    }

    public void setRoutes(List<Route> routes) {
        this.routes = routes;
    }

    public int getHeartbeat() {
        return heartbeat;
    }

    public void setHeartbeat(int heartbeat) {
        this.heartbeat = heartbeat;
    }

    public int getTimeout() {
        return timeout;
    }

    public void setTimeout(int timeout) {
        this.timeout = timeout;
    }

    public int getServerTimeout() {
        return serverTimeout;
    }

    public void setServerTimeout(int serverTimeout) {
        this.serverTimeout = serverTimeout;
    }

    public int getServerHeartbeat() {
        return serverHeartbeat;
    }

    public void setServerHeartbeat(int serverHeartbeat) {
        this.serverHeartbeat = serverHeartbeat;
    }

    
}
